deploy: Do not prune repository
authorMatthew Barnes <mbarnes@redhat.com>
Tue, 15 Sep 2015 18:40:18 +0000 (14:40 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Wed, 16 Sep 2015 13:23:37 +0000 (09:23 -0400)
commit36d65b3cfcc9557552314d112493516437d6fcd4
tree020f8e403a0d68c1ad7bd5fef1ae57978771c83f
parentb0bd16ec1181cee880810088e481642ae67cf037
deploy: Do not prune repository

To support deploying older commits:

  ostree pull <remote> <checksum>
  ostree admin deploy <checksum>

Prior to this, the deploy command garbage collected <checksum> since
there's no ref pointing to it, and then ostree_sysroot_deploy_tree()
fails because it can't find the <checksum> commit.

https://bugzilla.gnome.org/732526
src/ostree/ot-admin-builtin-deploy.c